
package com.zhitan.ems.app.stat.config.wrapper;
import com.zhitan.ems.app.stat.config.entity.ConsumptionConfigEntity;
import com.zhitan.ems.app.stat.config.vo.ConsumptionConfigVO;
import com.zhitan.ems.common.extra.utils.BeanUtil;
import com.zhitan.ems.framework.core.mp.base.BaseEntityWrapper;
  /**
 * 地区能耗配置表(数据单位: 吨标准煤) 包装类,返回视图层所需的字段
 * @author zhitan
 * 
 * @date 2025-09-20 09:56:55
 */
public class ConsumptionConfigWrapper extends BaseEntityWrapper<ConsumptionConfigEntity, ConsumptionConfigVO>  {
    public static ConsumptionConfigWrapper build() {
        return new ConsumptionConfigWrapper();
    }
	@Override
	public ConsumptionConfigVO entityVO(ConsumptionConfigEntity consumptionConfig) {
		if(consumptionConfig==null) {
			return null;
		}
		ConsumptionConfigVO consumptionConfigVO = BeanUtil.copy(consumptionConfig, ConsumptionConfigVO.class);
		return consumptionConfigVO;
	}

}
